package com.yc.entities.custom;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;
import java.util.Map;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="CustomRoleManageViewAndUpdatePullDownBean对象", description="角色管理查看和修改权限以及下拉Bean")
public class CustomRoleManageViewAndUpdatePullDownBean implements Serializable {

    @ApiModelProperty(value = "权限名称对应的ID")
    @NotNull(message = "权限名称对应的ID不能为空")
    private Integer id;

    private Integer userId;
    private Integer deanId;

    @ApiModelProperty(value = "有权限的部门集合")
    private List<Integer> departmentList;


}
